package com.web.app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 学生日报表
 * </p>
 *
 * @author 林
 * @since 2022-09-21
 */
@ApiModel(value = "Daily对象", description = "学生日报表")
public class Daily implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("日报id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联学生id")
    private Integer relationStudentId;

    @ApiModelProperty("工作概述")
    private String content;

    @ApiModelProperty("存在的问题")
    private String problem;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("关联班级id")
    private Integer relationClassId;

    @ApiModelProperty("评论内容")
    private String comment;

    @ApiModelProperty("逻辑删除：0=未删除，1=删除")
    private Integer isDeleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRelationStudentId() {
        return relationStudentId;
    }

    public void setRelationStudentId(Integer relationStudentId) {
        this.relationStudentId = relationStudentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getRelationClassId() {
        return relationClassId;
    }

    public void setRelationClassId(Integer relationClassId) {
        this.relationClassId = relationClassId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "Daily{" +
        "id=" + id +
        ", relationStudentId=" + relationStudentId +
        ", content=" + content +
        ", problem=" + problem +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", relationClassId=" + relationClassId +
        ", comment=" + comment +
        ", isDeleted=" + isDeleted +
        "}";
    }
}
